package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.experimental.FieldNameConstants;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description WeighingMachinePackageInfoEntity.java
 * @createTime 2024/10/03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_weighing_machine_package_info")
@ApiModel(value = "WeighingMachinePackageInfoEntity对象", description = "称重机器包裹信息表")
@FieldNameConstants
public class WeighingMachinePackageInfoEntity implements Serializable {

    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "包裹条码信息")
    @TableField("Ftickets_num")
    private String ticketsNum;

    @ApiModelProperty(value = "登录机器用户名")
    @TableField("Fadmin_username")
    private String adminUsername;

    @ApiModelProperty(value = "高度信息(单位在鸿顺捷分拣软件设置cm/mm)")
    @TableField("Fheight")
    private BigDecimal height;

    @ApiModelProperty(value = "长度信息(单位在鸿顺捷分拣软件设置cm/mm)")
    @TableField("Flength")
    private BigDecimal length;

    @ApiModelProperty(value = "宽度信息(单位在鸿顺捷分拣软件设置cm/mm)")
    @TableField("Fwidth")
    private BigDecimal width;

    @ApiModelProperty(value = "重量信息(单位在鸿顺捷分拣软件设置g/kg)")
    @TableField("Fweight")
    private BigDecimal weight;

    @ApiModelProperty(value = "体积信息(根据设置的尺寸单位而定cm³/mm³)")
    @TableField("Fvolume")
    private BigDecimal volume;

    @ApiModelProperty(value = "设备编号")
    @TableField("Fmachine_id")
    private String machineId;

    @ApiModelProperty(value = "仓库编号")
    @TableField("Fwhs_id")
    private String whsId;

    @ApiModelProperty(value = "阿里云图片链接")
    @TableField("Furl")
    private String url;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "Fupdate_time")
    private LocalDateTime updateTime;
}
